
#ifndef COMMON_STRING_H
#define COMMON_STRING_H
#include <string>

typedef std::basic_string<TCHAR> tstring;
typedef std::basic_string<char>	 ByteBuffer;

extern  CString    string2CString(const std::string& buff);

extern  std::string  CString2string(const CString& s);

extern CString      Bytes2CString(const ByteBuffer& buff);

extern ByteBuffer   CString2Bytes(const CString& s);

#endif




